﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Import.aspx.cs" Inherits="CanDoo.Oil.WebApp.storeOilSalesSerialNum.Import" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <link href="/res/css/common.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="PanelMain" />
        <f:Panel ID="PanelMain" runat="server" BodyPadding="5px"
            ShowBorder="false" Layout="VBox" BoxConfigAlign="Stretch"
            BoxConfigPosition="Start" ShowHeader="false">
            <Items>
                <f:Form ID="Form2" runat="server" ShowHeader="false"
                    ShowBorder="false" LabelAlign="Right" LabelWidth="60px">
                    <Items>
                        <f:Panel ID="Panel0" ShowHeader="false" ShowBorder="false" runat="server" Layout="Column" BoxConfigAlign="Stretch">
                            <Items>
                                <f:FileUpload ID="ed_File" runat="server" Label="数据" Width="400px" CssClass="marginr"></f:FileUpload>
                                <f:Button ID="btnUpload" runat="server" Text="上传文档" OnClick="btnUpload_Click" CssClass="marginr"></f:Button>
                                <f:HyperLink ID="HyperLink1" runat="server" Label="Label" NavigateUrl="demo.xls" Target="_blank" Text="导入模板下载" ShowLabel="false"></f:HyperLink>
                            </Items>
                        </f:Panel>
                    </Items>
                </f:Form>
                <f:Grid ID="Grid1" BoxFlex="1" runat="server" EnableCollapse="true" ShowBorder="true" ShowHeader="false"
                    EnableCheckBoxSelect="true" DataKeyNames="Id,Name" EnableMultiSelect="true">
                    <Toolbars>
                        <f:Toolbar ID="GridToolbar" runat="server">
                            <Items>
                                <f:Button ID="btnClose" EnablePostBack="false" runat="server" Hidden="true"
                                    Text="关闭">
                                </f:Button>
                                <f:Button ID="btnSave" ValidateForms="FormEdit"
                                    OnClick="btnSave_Click" runat="server" Text="导入数据">
                                </f:Button>
                                <f:HiddenField ID="ed_EntityId" runat="server"></f:HiddenField>
                                <f:HiddenField ID="ed_filePath" runat="server"></f:HiddenField>
                            </Items>
                        </f:Toolbar>
                    </Toolbars>
                    <Columns>
                        <f:RowNumberField />
                        <f:BoundField Width="100px" ColumnID="L0" DataField="L0" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L1" DataField="L1" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L2" DataField="L2" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L3" DataField="L3" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L4" DataField="L4" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L5" DataField="L5" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L6" DataField="L6" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L7" DataField="L7" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L8" DataField="L8" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L9" DataField="L9" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L10" DataField="L10" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L11" DataField="L11" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L12" DataField="L12" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L13" DataField="L13" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L14" DataField="L14" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L15" DataField="L15" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L16" DataField="L16" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L17" DataField="L17" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L18" DataField="L18" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L19" DataField="L19" HeaderText="" HtmlEncode="false" Hidden="true" />
                        <f:BoundField Width="100px" ColumnID="L20" DataField="L20" HeaderText="" HtmlEncode="false" Hidden="true" />
                    </Columns>
                </f:Grid>
            </Items>
        </f:Panel>
    </form>
</body>
</html>
